package p270jp.pxv.android.legacy.response;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: PixivOAuthErrorResponse.kt */
/* renamed from: jp.pxv.android.legacy.response.PixivOAuthErrorResponse */
/* loaded from: classes2.dex */
public final class PixivOAuthErrorResponse {
    @SerializedName("error")
    private final String error;

    public PixivOAuthErrorResponse(String str) {
        MutabilityOwnership.m3745m(str, "error");
        this.error = str;
    }

    public static /* synthetic */ PixivOAuthErrorResponse copy$default(PixivOAuthErrorResponse pixivOAuthErrorResponse, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            str = pixivOAuthErrorResponse.error;
        }
        return pixivOAuthErrorResponse.copy(str);
    }

    public final String component1() {
        return this.error;
    }

    public final PixivOAuthErrorResponse copy(String str) {
        MutabilityOwnership.m3745m(str, "error");
        return new PixivOAuthErrorResponse(str);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof PixivOAuthErrorResponse) && MutabilityOwnership.m3749h(this.error, ((PixivOAuthErrorResponse) obj).error);
    }

    public final String getError() {
        return this.error;
    }

    public int hashCode() {
        return this.error.hashCode();
    }

    public String toString() {
        return C2047a.m8800b(C0261e.m12042c("PixivOAuthErrorResponse(error="), this.error, ')');
    }
}
